﻿using FangPage.Core;
using ProjectManager.User.Model;

namespace ProjectManager.User.Controller
{
    public class islogin : FPController
    {
        public override void Controller()
        {
            AuthInfo authinfo = Logins.Authorize();

            var res = new { islogin = authinfo.islogin, user = authinfo };

            FPResponse.WriteJson(res);
        }
    }
}
